package com.qidian.by.goods.service.feign;

import com.qidian.by.util.pojo.EsResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-05-16 15:00
 **/
@FeignClient(name = "by-search")
public interface EsSearchServiceClient {
    @PostMapping("/insert")
    EsResult insert(@RequestBody String data);
}
